﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DAL.Models.DTO
{
    [Serializable]
    public class UserDTO
    {
        public string Action { get; set; }
        public int Id { get; set; }
        //[Required]
        //[StringLength(50)]
        //[Unicode(false)]
        public string UserName { get; set; }
        //[Required]
        //[StringLength(50)]
        //[Unicode(false)]
        public string UserPass { get; set; }
        //[StringLength(50)]
        //[Unicode(false)]
        public string TrueName { get; set; }
        //[StringLength(50)]
        //[Unicode(false)]
        public string Phone { get; set; }
        //[StringLength(50)]
        //[Unicode(false)]
        public string Email { get; set; }
        //[StringLength(100)]
        //[Unicode(false)]
        public string ContactAddress { get; set; }
        //[Column("IDCard")]
        //[StringLength(18)]
        //[Unicode(false)]
        public string Idcard { get; set; }
        //[Column(TypeName = "datetime")]
        public DateTime? AddTime { get; set; }
        //[Column(TypeName = "datetime")]
        public DateTime? UpdateTime { get; set; }
    }
}
